import Vue from 'vue'
import App from './App.vue'
import './plugins/vant.js'
import 'vant/lib/index.css'

import * as api from './api'
import "./filter"
import router from './router'
import './mixins'
import { Lazyload } from 'vant'

import store from './store'
// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  loading:require("./assets/loading.gif")
})

Vue.config.productionTip = false

Vue.prototype.$http = api

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
